package com.example.plantuml.demo.service;

import org.springframework.stereotype.Service;

@Service
public class AbcService {

    public void aaa(int sleep, String desc){
        try {
            Thread.sleep(sleep);
        } catch (InterruptedException e) {
            Thread.currentThread().interrupt();
        }
        bbb(100);
    }

    private void bbb(int sleep){
        try {
            Thread.sleep(sleep);
        } catch (InterruptedException e) {
            Thread.currentThread().interrupt();
        }
    }
    public void ccc(int sleep){
        try {
            Thread.sleep(sleep);
        } catch (InterruptedException e) {
            Thread.currentThread().interrupt();
        }
    }
}
